package dao;
import java.util.List;

import model.Patient;

public interface PatientDAO {
	// create
	boolean 	add(String NII, String firstName, String lastName, String notes);
	boolean 	add(Patient patient);

	// read
	Patient[] 	getAll();
	long 		getCount();
	Patient 	getById(Integer id);
	Patient 	getByNII(String NII);
	Patient[] 	getByFirstName(String name);
	Patient[] 	getByLastName(String artist);

	// update
	boolean 	update(Patient patient);

	// delete
	boolean 	delete(Patient patient);
}
